package com.ipfsemc.ipfsemc.quartz;


import com.ipfsemc.ipfsemc.mapper.ApplyMapper;
import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 每天凌晨查看是否有人报备过期
 */
@Slf4j
@Component
public class CheckApplyOutJob implements Job {

    @Autowired
    private ApplyMapper applyMapper;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info("CheckApplyOutJob【查看是否有人报备过期】" + new Date().toLocaleString());


//        applyMapper.outApply();

    }

}
